package com.eidos.blogs.openapi;

import com.eidos.blogs.openapi.annotation.EnableRedis;
import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author ：Eidos
 * @date ：Created in 2020/12/15
 * @description：模板中心启动类
 * @modified By：
 * @version: 1.0
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})
@EnableScheduling
@Slf4j
@EnableRedis
public class TemplateCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(TemplateCenterApplication.class, args);
        log.info("************************************************************");
        log.info("*                                                          *");
        log.info("*                   服 务 启 动 成 功                      *");
        log.info("*                                                          *");
        log.info("************************************************************");

    }

}
